package com.yoga.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yoga.dao.TestMapper;
import com.yoga.model.Test;
import com.yoga.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author yan
 * @date 2025/8/20
 */
@Service
public class TestServiceImpl implements TestService {
    private TestMapper testMapper;
    @Autowired
    public void setTestMapper(TestMapper testMapper) {
        this.testMapper = testMapper;
    }

    @Override
    public Page<Test> findAll(Page<Test> page, Test test) {
        return testMapper.findAll(page,test);
    }
}
